package com.xjd.hibernate.helloworld;

public class DateString {

	public static void main(String[] args) {

		String dateStr = new java.sql.Date(new java.util.Date().getTime()).toString() + " "
				+ new java.util.Date().getHours() + ":" + new java.util.Date().getMinutes() + ":"
				+ new java.util.Date().getSeconds();
		System.out.println(dateStr);

	}

}
